package com.nexmo.hangman.dao;

import com.nexmo.hangman.dao.abs.AbstractDao;
import com.nexmo.hangman.domain.Game;

import java.util.List;

public interface GameDao extends AbstractDao<Game, Long> {

    Game getUserUnfinishedGame(Long userId);

    void finishAllUserGames(Long userId);

    List<Game> getAllActiveGames();
}
